import 'package:get/get.dart';
import 'package:series_play/pages/bingewatch/controller/watch_history_controller.dart';

import 'binge_watch_list_controller.dart';

class BingeWatchController extends GetxController {
  /// 编辑模式中
  var isEditModel = false.obs;

  final BingeWatchListController bingeWatchListController = Get.put(
    BingeWatchListController(),
  );
  final WatchHistoryController watchHistoryController = Get.put(
    WatchHistoryController(),
  );

  @override
  void onClose() {
    super.onClose();
    Get.delete<BingeWatchListController>();
    Get.delete<WatchHistoryController>();

  }
}
